package com.sprometheus.core.pojo;


import com.sprometheus.core.constants.SPrometheusTitleEnum;
import com.sprometheus.core.anno.Msg;
import com.sprometheus.core.constants.SConstants;
import com.sprometheus.core.constants.SendChannel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Exp {
    @Msg(msg = "监控分类")
    private SPrometheusTitleEnum titleEnum = SPrometheusTitleEnum.OTHER;
    @Msg(msg = "接口地址")
    private String uri;
    @Msg(msg = "错误信息")
    private String msg = SConstants.DEFAULT_MSG;
    @Msg(msg = "请求参数")
    private String reqData;
    @Msg(msg = "是否@所有人 @all")
    private Integer atAll = SConstants.NO;
    @Msg(msg = "推送媒介 1:飞书(默认) 2:钉钉 3:邮件")
    private String sendChannel = SendChannel.FEISHU;
}
